@extends('layout')

@section('body')
    <style>
        body {
            padding-top: 75px;
            padding-bottom: 40px;
            background: #efefef;
        }
    </style>
    <script>
        var app = {};
        app.name = 'home';
    </script>
    <body>
    <!--header start-->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">聚合</a>
            </div>

            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">游戏</a></li>
                    <li><a href="#">技术</a></li>
                </ul>
                {{--<ul class="nav navbar-nav navbar-right">--}}
                    {{--@if(Auth::check())--}}
                        {{--<li class="dropdown">--}}
                            {{--<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{  Auth::user()->name }} <span class="caret"></span></a>--}}
                            {{--<ul class="dropdown-menu">--}}
                                {{--<li><a href="{{ url("auth/login/logout") }}">退出登录</a></li>--}}
                            {{--</ul>--}}
                        {{--</li>--}}
                    {{--@else--}}
                        {{--<li><a href="{{ url("auth/login") }}">登录</a></li>--}}
                        {{--<li><a href="{{ url("auth/register") }}">注册</a></li>--}}
                    {{--@endif--}}
                {{--</ul>--}}
            </div>
        </div>
    </nav>
    <!--header end-->
    <!--main start-->
    <div class="container">
        @section('content')
            {{--主体内容--}}
        @show
    </div>
    <!--main end-->
    </body>
@endsection